package com.ssy.lingxi.platform.template.service.repository;

import com.ssy.lingxi.platform.template.service.entity.adorn.AppAdorn;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface AppAdornRepository extends JpaRepository<AppAdorn, Long> {

    AppAdorn findByTemplateId(Long templateId);

    AppAdorn findByTemplateIdAndMemberIdAndRoleId(Long templateId, Long memberId, Long memberRoleId);
}
